let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start"),
                    Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.DateTimeUtils = void 0);
                var n = t('TimeMrg'),
                    i = t('StrUtils'),
                    r = (function() {
                        function t() {}
                        return (
                            (t.timeStamp = function() {
                                return Date.now();
                            }),
                            (t.checkLastDay = function(t) {
                                var e = new Date(),
                                    o = new Date(t);
                                return (
                                    e.getDate() > o.getDate() ||
                                    e.getMonth() > o.getMonth() ||
                                    e.getFullYear() > o.getFullYear()
                                );
                            }),
                            (t.getZero = function(t) {
                                var e = new Date(t);
                                return new Date(
                                    e.getFullYear(),
                                    e.getMonth(),
                                    e.getDate(),
                                    0,
                                    0,
                                    0,
                                    0
                                ).getTime();
                            }),
                            (t.isCurrentDay = function(t) {
                                if (0 == t) return !1;
                                var e = new Date(n.TimeMrg.serverTime),
                                    o = new Date(t);
                                return (
                                    e.getFullYear() == o.getFullYear() &&
                                    e.getMonth() == o.getMonth() &&
                                    e.getDay() == o.getDay()
                                );
                            }),
                            (t.formatCountdown = function(t, e) {
                                void 0 === e && (e = 2);
                                var o = Math.max(0, t),
                                    n = Math.round(o / 1e3),
                                    r = Math.floor(n / 3600),
                                    a = Math.floor(n / 60),
                                    s = n % 60;
                                return 3 == e ?
                                    ((a = Math.floor((n - 3600 * r) / 60)),
                                        i.default.toString(r, 10, 2) +
                                        ':' +
                                        i.default.toString(a, 10, 2) +
                                        ':' +
                                        i.default.toString(s, 10, 2)) :
                                    i.default.toString(a, 10, 2) +
                                    ':' +
                                    i.default.toString(s, 10, 2);
                            }),
                            (t.formatTime = function(e, o) {
                                switch ((void 0 === o && (o = 0), o)) {
                                    case 1:
                                        return t.formatTime1(e);
                                }
                                return t.formatTime0(e);
                            }),
                            (t.formatTime0 = function(t) {
                                var e = new Date(t);
                                return (
                                    i.default.toString(e.getFullYear(), 10, 2) +
                                    '年' +
                                    i.default.toString(e.getMonth() + 1, 10, 2) +
                                    '月' +
                                    i.default.toString(e.getDate(), 10, 2) +
                                    '日 ' +
                                    i.default.toString(e.getHours(), 10, 2) +
                                    ':' +
                                    i.default.toString(e.getMinutes(), 10, 2) +
                                    '.' +
                                    i.default.toString(e.getSeconds(), 10, 2)
                                );
                            }),
                            (t.formatTime1 = function(t) {
                                var e = new Date(t);
                                return (
                                    i.default.toString(e.getFullYear(), 10, 2) +
                                    '/' +
                                    i.default.toString(e.getMonth() + 1, 10, 2) +
                                    '/' +
                                    i.default.toString(e.getDate(), 10, 2) +
                                    ' ' +
                                    i.default.toString(e.getHours(), 10, 2) +
                                    ':' +
                                    i.default.toString(e.getMinutes(), 10, 2) +
                                    '.' +
                                    i.default.toString(e.getSeconds(), 10, 2)
                                );
                            }),
                            (t.Second2Millisecond = 1e3),
                            (t.Minute2Millisecond = 60 * t.Second2Millisecond),
                            (t.Hour2Millisecond = 60 * t.Minute2Millisecond),
                            (t.Day2Millisecond = 24 * t.Hour2Millisecond),
                            t
                        );
                    })();
                (o.DateTimeUtils = r), console.log("end");
            module.exports =  e.exports;